package com.product.statemachine.common.spring.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.util.LinkedHashMap;
import java.util.Map;

/**
  * @author: caoxingming
  * @data: 2022/6/9 12:01 下午
  * @description: 事件状态机配置类
  **/
@Getter
@Setter
@Data
public class StateMachineConfigProperties {

    /**
     * 状态机事件流程
     */
    private Map<String,StateMachineFlowConfigProperties> flows = new LinkedHashMap<>();

    /**
     * 状态机状态
     */
    private Map<String,StateConfigProperties> states = new LinkedHashMap<>();


}
